package cn.ava.pet.mapper;

import cn.ava.pet.domain.PetDetail;
import cn.ava.basic.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ava
 * @since 2022-07-16
 */
@Mapper
public interface PetDetailMapper extends BaseMapper<PetDetail> {
    // 根据当前宠物id删除详情
    void deleteByPetId(Long id);
    // 根据当前宠物id获取数据
    PetDetail getByPetId(Long id);
}
